package cn.xinfei.xdecision.common.service.datax.midoffice;


import cn.xinfei.xdecision.common.utils.util.EncodeUtil;


public class MidOfficeSignUtil {

    public static String sign(String ua,String key,String call,String args){
        String signKey=ua+key+ua;
        StringBuilder sb=new StringBuilder(signKey);
        sb.append(call).append(signKey)
                .append(args).append(signKey);
        return EncodeUtil.md5Encode(sb.toString());
    }
}
